package com.zmn.plat.business.interfaces.part.category;

import java.util.List;

import com.zmn.common.dto.VtDTO;
import com.zmn.plat.model.entity.part.PartCategory;

public interface PartCategoryBService {

    List<VtDTO> getCategSimpleList(Integer parentId);

    List<PartCategory> getCategList(Integer parentId, int status);

    List<VtDTO> getCategFirstSimpleList();

    List<VtDTO> getCategFirstEnableSimpleList();

    /**
     * 描述:根据传入的 partCategory 查询是否有重复配件分类
     *
     * @param partCategory
     *            PartCategory
     * @return Boolean 是否重复
     * @author DaiZhichao
     * @since 2018/12/20 15:51
     */
    boolean findIdenticalCategory(PartCategory partCategory);
}
